<div class="row">
	<div class="twelve columns">
		<div class="box_c">
			<div class="box_c_heading cf">
				<div class="box_c_ico"><img src="img/ico/icSw2/16-List.png" alt="" /></div>
				<p>{{Créer/Modifier une newsletter}}</p>
			</div>
			<div class="box_c_content form_a">
				<form action="" method="post" class="nice">
					<?php if(!empty($newsletter['id'])){ ?>
						<input type="hidden" name="id" value="<?php echo (int)$newsletter['id']; ?>" />
					<?php } ?>
					<div class="formRow">
						<div class="row">
							<div class="six columns">
								<label class="sepH_b">{{libellé}}</label>
								<input value="<?php if(!empty($newsletter['title'])){ echo $newsletter['title']; }elseif(!empty($_POST['title'])){ echo $_POST['title']; } ?>" style="margin-top:-2px" type="text" name="title" class="input-text medium" />
							</div>
							<div class="six columns">
								<label class="sepH_b">{{Sujet}}</label>
								<input value="<?php if(!empty($newsletter['subject'])){ echo $newsletter['subject']; }elseif(!empty($_POST['subject'])){ echo $_POST['subject']; } ?>" style="margin-top:-2px" type="text" name="subject" class="input-text medium" />
							</div>
						</div>
					</div>

					<div class="formRow">
						<label class="sepH_b">{{Message html}}</label>
						<textarea id="ed_html" name="html" rows="10" cols="60" class="tinymce expand"><?php echo $newsletter['html']; ?></textarea>
					</div>

					<div class="formRow">
						<label class="sepH_b">{{Message texte brut}}</label>
						<textarea name="txt" rows="10" cols="60" class="auto_expand expand"><?php echo $newsletter['txt']; ?></textarea>
					</div>

					<div class="formRow">
						<button name="save" value="1" type="submit" class="button green small radius nice">{{Ok}}</button>
						<button name="return" value="1" type="submit" class="button white small radius nice">{{Annuler}}</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>